using System.Collections.Generic;
using System.Diagnostics;
using System.Xml.Serialization;

namespace Edmx.Storage
{
    [DebuggerDisplay("Role={Role}")]
    [XmlType(Namespace = EdmxConstants.StorageSchemaNamespace)]
    public class ReferentialConstraintRoleElement : MetadataEntityBase<ReferentialConstraintRoleElement>
    {
        [XmlElement("PropertyRef")]
        public List<PropertyRef> PropertyRef { get; set; }

        [XmlAttribute("Role")]
        public string Role { get; set; }
    }
}